package com.mer.service;

import com.mer.entity.Subject;
import com.mer.vo.CommonResult;
import com.mer.vo.SubjectVo;

/**
 * @program: IIPhase-project
 * @description: 课程分类service层接口
 * @author: 陈铠
 * @create: 2021-10-19 10:45
 **/
public interface SubjectService {
    CommonResult selectSubjectByPage(Integer page, Integer limit, SubjectVo subjectVo);

    CommonResult insertSubject(Subject subject);

    CommonResult deleteSubject(String id);

    CommonResult updateSubject(Subject subject);

    CommonResult changeStatus(SubjectVo subjectVo);

    CommonResult selectSubjectByStatus(Integer page, Integer limit);

    String subjectPidById(String pid);

}
